home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5871 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: access4.digex.net!not-for-mail
  2. From: ell@access4.digex.net (Ell)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: [Q] on Garbage Collection in mixed C/C++
  5. Date: 7 Feb 1996 05:16:37 GMT
  6. Organization: The Universe
  7. Message-ID: <4f9cjl$2gc@news4.digex.net>
  8. NNTP-Posting-Host: access4.digex.net
  9. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  10.  
  11. From news3.digex.net!access4.digex.net!not-for-mail Wed Feb  7 00:06:09 1996
  12. Path: news3.digex.net!access4.digex.net!not-for-mail
  13. From: ell@access4.digex.net (Ell)
  14. Newsgroups: comp.object
  15. Subject: Re: [Q] on Garbage Collection in mixed C/C++
  16. Date: 7 Feb 1996 04:59:30 GMT
  17. Organization: The Universe
  18. Lines: 20
  19. Message-ID: <4f9bji$2gc@news4.digex.net>
  20. References: <4f2jik$kbi@news1.infinet.com> <DMC9q1.LDz@beaver.cs.washington.edu>
  21. NNTP-Posting-Host: access4.digex.net
  22. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  23.  
  24. Jeffrey Dean (jdean@cs.washington.edu) wrote:
  25. :...
  26. : running on.  If it's soft real-time and you're running on a system
  27. : with appropriate VM support (most Unix machines), the I would
  28. : recommend Hans Boehm's conservative garbage collection system for
  29. : C/C++ from Xerox PARC.  It has an incremental collector that can
  30. : provide average delays in the tens to hundreds of milliseconds range,
  31. : depending on heap size, processor speed, and a host of other factors.
  32.  
  33. You know, one thing about gc is that if you don't have enough virtual
  34. memory you are out of luck regardless of your gc strategy.  As Stroustrup
  35. relates in C++ PL, memory management is about attempting to simulate
  36. infinite memory.  But let's face the facts, if you don't have enuff box
  37. stuff, you simply ain't got it.
  38.  
  39. That said gc, and memory management in C++ is being acheived most 
  40. effectively through various idioms (for some see the C++ FAQ book), and 
  41. "great" third party gc tools for C++.
  42.  
  43. Elliott
  44.  
  45.